package com.wys.mall.ware.feign;

import com.wys.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Package com.wys.mall.ware.feign
 * @Author charlin
 * @Version: v1.0
 * @Date 2021-06-2222:13
 * @Copyright: 2021 www.wyscha.com Inc. All rights reserved.
 */
@FeignClient("mall-product")
public interface ProductFeignService {

    @GetMapping("/product/skuinfo/info/{skuId}")
    public R info(@PathVariable("skuId") Long skuId);
}
